<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="res/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="res/css/main.css">
<link rel="stylesheet" href="res/css/index.css">
<title>赛程安排</title>
<style>
	.all{
		width:100%;
		margin-top:10px;
		height:30px;
		background-color:#6699ff
	}
	.lower{
		width:100%;
		background-color:#f2f2f2
	}
	
</style>
</head>
<body>
<form method="post" name="addoiling" action="addoiling.action">
	<!-- 导入导航栏 -->
	<div class="layui-container" style="width:100%">
	  	<%@ include file="header.jsp" %> 
  	</div>
  	
  	<c:if test="${loginuser != null}">
  	<div class="layui-container all"></div>
	  <div class="layui-container lower">
		    <div class="layui-row layui-col-space12">
				<div class="layui-card layui-col-space8" style="margin:0 auto;width:70%;">
			   		<div class="layui-card-body">
			   			<div style="background-color: #D1EEEE;height: 5%;width: 100%;margin-bottom: 10px;line-height:37px;color: #EE9A00;font-size: 20px;">&nbsp;&nbsp;&nbsp;加油稿添加</div>
				   		<div style="height:500px; width=100%;background-color: #D1EEEE;">
				   			
				   			<div class="layui-form-item" style="width: 85%">
							    <label class="layui-form-label" style="margin-top: 80px;">主题</label>
							    <div class="layui-input-block" style="padding-top: 80px;">
							      <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入主题" class="layui-input">
							    </div>
							</div>
							
							<div class="layui-form-item layui-form-text" style="width: 85%">
							    <label class="layui-form-label" style="margin-top: 25px;">加油稿内容</label>
							    <div class="layui-input-block" style="padding-top: 25px;">
							      <textarea name="cecontent" placeholder="请输入内容" class="layui-textarea"></textarea>
							    </div>
							</div>
							
							<div class="layui-form-item">
							    <div class="layui-input-block">
							      <input class="layui-btn" name="submit" type="submit" value="立即提交" />
							      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
							    </div>
							</div>
							
				   		</div>
					</div>
			   	</div>
			</div>
		</div>
		</c:if>
		
		<!-- 没有登录的情况 -->	
		<c:if test="${loginuser == null}">
			<div class="layui-card">
				<div class="layui-card-body" style="text-align:center;">
					<a href="login.jsp">请先登录</a>
				</div>
			</div>
		</c:if>
		
</form>
		
  	<!-- footer部分 -->
	<div class="layui-container" style="width:100%;margin-top:270px;">
	  	<%@ include file="footer.jsp" %> 
  	</div>

<script src="res/layui/layui.js"></script>
</body>
</html>